#pragma once


class CProvider 
{
public:
	void setId(CString sID);
	CString getId();

	void setName(CString sName);
	CString getName();

	void setAdress(CString sAdress);
	CString getAdress();

	void setMobile(CString sMobile);
	CString getMobile();

	void setNote(CString sNote);
	CString getNote();

	void setFax(CString sFax);
	CString getFax();

public:
	bool addToDatabase();
	bool deleteInDatabase();
	bool updateDatabase();

private:
	CString m_sID;
	CString m_sNameProvider;//Tam tru
	CString m_sAdress;
	CString m_sNote;
	CString m_sMobile;
	CString m_sFax;
};